deno.com

method ReadableBase.prototype.[Symbol.asyncDispose]

#ReadableBase.prototype.[Symbol.asyncDispose](): Promise<void>

Calls readable.destroy() with an AbortError and returns a promise that fulfills when the stream is finished.

Return Type #

Promise<void>